#ifndef __APP_CONFIG_H__
#define __APP_CONFIG_H__

typedef struct {
    uint8_t ssid[32];
    uint8_t password[64];
    uint8_t status;  /* 1: enabled */
} app_wifi_info_t;


esp_err_t read_wifi_info(app_wifi_info_t* wifi_info);
esp_err_t write_wifi_info(const uint8_t* ssid, const uint8_t* password, uint8_t status);
esp_err_t set_wifi_info_status(uint8_t status);

#endif // __APP_CONFIG_H__